﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyQQRobot
{
    public class MessageInfo
    {
        private String font;
        private String message;
        private Int64 message_id;
        private String message_type;
        private String post_type;
        private String raw_message;
        private Int64 self_id;
        private Sender sender;
        private String sub_type;
        private Int64 target_id;
        private Int64 time;
        private Int64 user_id;

        public string Font { get => font; set => font = value; }
        public string Message { get => message; set => message = value; }
        public Int64 Message_id { get => message_id; set => message_id = value; }
        public string Message_type { get => message_type; set => message_type = value; }
        public string Post_type { get => post_type; set => post_type = value; }
        public string Raw_message { get => raw_message; set => raw_message = value; }
        public Int64 Self_id { get => self_id; set => self_id = value; }
        public Sender Sender { get => sender; set => sender = value; }
        public string Sub_type { get => sub_type; set => sub_type = value; }
        public Int64 Target_id { get => target_id; set => target_id = value; }
        public Int64 Time { get => time; set => time = value; }
        public Int64 User_id { get => user_id; set => user_id = value; }
    }

    public class Sender
    {
        private int age;
        private String nickname;
        private String sex;
        private Int64 user_id;

        public int Age { get => age; set => age = value; }
        public string Nickname { get => nickname; set => nickname = value; }
        public string Sex { get => sex; set => sex = value; }
        public Int64 User_id { get => user_id; set => user_id = value; }
    }
}
